home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 5-029 turbo debugger and assem / disks.7z / 2 / MANUAL.DOC next >
Encoding:
Text File  |  1988-08-28  |  12.8 KB  |  321 lines

  1. TURBO DEBUGGER 1.0: MANUAL ADDITIONS AND CORRECTIONS
  2. ----------------------------------------------------
  3.  
  4. The following documents changes to the manual that were made
  5. after it went to print. Please read this file and make the
  6. appropriate corrections in the Turbo Debugger User's Guide.
  7.  
  8. Page
  9.  
  10. 8 End of page, add: "TD.OVL is the file containing the menu system
  11.   and must be available to TD whenever you use the menus. If
  12.   TD.OVL is not available when you load TD, an error message will
  13.   inform you of such. In addition, if you're loading from a disk,
  14.   the message will prompt you to insert the disk containing
  15.   TD.OVL."
  16.  
  17. 18 In the second and third bullets, delete "E" and add the
  18.    letters B and D.
  19.  
  20. 23 The third line in the third paragraph should read "...you have
  21.    a choice of four commands: Create, Remove, Delete All, and
  22.    Stop Recording".
  23.  
  24. 30 Add to the last sentence of "Resizing and Saving Windows":
  25.    "..from DOS if the configuration was saved to a file called
  26.    TDCONFIG.TD. This is the only configuration file that will be
  27.    loaded automatically when Turbo Debugger is loaded. Other
  28.    configurations can be loaded (saved in other files) by using
  29.    the Options/Restore Options selection in the main menu or
  30.    using the-c command line option when loading TD." See the
  31.    entry for page 52.
  32.  
  33. 34,35 At the end of p34 and the first sentence of p35, change
  34.       Alt-F R to Ctrl-F2.
  35.  
  36. 35 Last sentence of the second paragraph under "Using Turbo
  37.    Debugger" should read: "...File menu, in this case only the F1
  38.    and Esc keys appear.
  39.  
  40. 37 Replace the third paragraph with the following: There are a
  41.    number of ways to control the execution of your program, a
  42.    listing can be found in the Run menu. For instance, let's say
  43.    you wanted to execute the program until it reaches line 38.
  44.    First, position the cursor on line 38, then press F4, which
  45.    will run the program up to (but not including) line 38. Now
  46.    press F7, which executes one line of source code at a time; in
  47.    this case, it executes line 38, a call to the function
  48.    showargs. The cursor will immediately jump to line 150 where
  49.    the definition of showargs is found. Continuing to press F7
  50.    will step through the function showargs and then return you to
  51.    the line following the call--line 39. If you pressed F8
  52.    instead of F7 when positioned on line 38, the cursor would
  53.    have gone directly to line 39 not to the function. F8 is
  54.    similar to F7 except that it skips over any calls, but it
  55.    still executes them.
  56.  
  57. 37 Last line, first paragraph should read, "The arrow and cursor
  58.    are on the next executable line."
  59.  
  60. 39 Figure 3.4, change the contents of the Watches window to the following:
  61.  
  62.      nwords                   unsigned int   2  (0x2)
  63.  
  64. 40 Last paragraph, 3rd line, modify to read: "An inspector
  65.    appears showing the values of the letterinfo array elements."
  66.    And add: "The first line under the title is the address in
  67.    main memory of the first element of the array letterinfo."
  68.    Note that this number will probably be different on your
  69.    system.
  70.  
  71. 41 In Figure 3.6, the title of the Inspector window should be
  72.    "Inspecting letterinfo[3]."
  73.  
  74.    In the first line, modify it to read, "...name of the data you
  75.    are inspecting. The next...".
  76.  
  77.    The Inspector window in Figure 3.6 should look like this:
  78.  
  79.          Inspecting letterinfo        3
  80.          @5A51:08F4
  81.          [0]                      (1,1)
  82.          [1]                      (1,0)
  83.          [2]                      (1,0)
  84.          [3]                      (1,1)
  85.          [4]                      (1,0)
  86.          Inspecting letterinfo[3]     4
  87.          @5A51:0904
  88.          count                  1 (0x1)
  89.          firstletter            0 (0x1)
  90.          -----------------------------
  91.          struct linfo
  92.  
  93. 42 First paragraph after Figure 3.7, change the last line to
  94.    "...the new value, 10L (0xA)."
  95.  
  96.    On the next paragraph, the last line: "Type argc and press
  97.    Enter, then press the Tab key twice to move to the line
  98.    labeled New Value. Type 123 and press Enter; the integer
  99.    result (second line) will change to int 123 (0x7B).
  100.  
  101. 48 Add to the second paragraph after Figure 3.13: "This will set
  102.    the variable NumLines equal to 123."
  103.  
  104. 51 In the first paragraph under "Running Turbo Debugger," add to
  105.    the end: "TD.OVL must be available for TD to call upon for its
  106.    menu system."
  107.  
  108. 52 Under "Command-Line Options," add the -c<filename> option.
  109.    This option loads the specified configuration file. If this
  110.    option isn't specified, TDCONFIG.TD is loaded, if it exists.
  111.    Here's an example:
  112.  
  113.       TD -cMYCONF.TD TCDEMO
  114.  
  115.    This loads the configuration file MYCONF.TD and the source
  116.    code for TCDEMO. A space cannot exist between -c and the file
  117.    name.
  118.  
  119. 53 Under the -m option, a space cannot exist between the -m and
  120.    the size of the heap; for example, TD -m64 TCDEMO.
  121.  
  122. 54 Under the -r Options, the default speed is 115 Kbaud.
  123.  
  124. 55 The bottom line should read, "...those default option values
  125.    and any values in TDCONFIG.TD."
  126.  
  127. 57 Under "Create," add to the end of the first paragraph: "To
  128.    begin a recording session, enter F10/Option/Macro/Create. You
  129.    will be prompted for the key you want to assign the macro to.
  130.    The message "Recording" is displayed in the upper right-hand
  131.    corner while the recording session is in progress.
  132.  
  133. 59 To the "Save Options Command" add: "Turbo Debugger allows you
  134.    to save your options in three ways:
  135.  
  136.    All    - Saves all settings made in options, including
  137.               windows and macros
  138.    Layout - Saves only the windowing layout
  139.    Macros - Saves only the currently defined macros
  140.  
  141. 73 Add to the end of "Animate [Alt-F4]": "After activating Alt-
  142.    F4, you'll be prompted for a time delay between successive
  143.    traces. The time delay is in 10ths of a second; the default is 3".
  144.  
  145. 76 Add to "Keystroke Recording and Playback": Note: When a macro
  146.    is saved to a configuration file, the configuration of the
  147.    total environment is saved, including opened view windows and
  148.    zoomed windows. Thus if you record a macro that opens a view
  149.    window and don't close the window before saving it, the next
  150.    time you do a Restore of that configuration file, the window
  151.    will be automatically opened without executing the macro.
  152.  
  153. 82 After "Watch," add a new section: "Function Return" shows you
  154.    the value the current function is about to return. You can
  155.    only use this command when the function is about to return to
  156.    its caller.
  157.  
  158.    The return value is displayed in an Inspector window, so you
  159.    can easily examine return values that are pointers to compound
  160.    data objects.
  161.  
  162.    This command prevents you from having to switch to a CPU
  163.    window to examine the return value that is placed in the CPU
  164.    registers.
  165.  
  166. 85 The second line under "Watch," change "end" to "beginning."
  167.  
  168. 86 To the end of the third paragraph under "Inspector
  169.    Windows," add "..., unless it has been optimized to a register".
  170.  
  171. 110 The example at the end of the page should be "(long) a,4".
  172.  
  173. 111 Replace "TDH.SYS" with "TDH386.SYS" in the fifth paragraph.
  174.  
  175. 137 The second sentence in the last paragraph should read, "An
  176.     expression consists of a mixture of symbols, operators,
  177.     strings, variables, and constants."
  178.  
  179. 158,159 Change all occurrences of "I/O location" to "I/O port."
  180.  
  181. 171 At the top of page, replace lines 2-6 with the following:
  182.     "When assembling an instruction or evaluating an assembler
  183.     expression to refer to the contents of a variable, use the
  184.     name of the variable alone or between brackets:
  185.  
  186.             mov ax,[a]
  187.             mov dx,a
  188.  
  189.     To refer to the address of the variable, use the OFFSET
  190.     operator:
  191.  
  192.             mov ax,offset a
  193.  
  194. 178 Add the "Empty" local menu command: "Empty" sets the value of
  195.     the currently highlighted register to empty. This is a
  196.     special status that indicates that the register no longer
  197.     contains valid data.
  198.  
  199. 183 The Shift-arrow keys move between the panes in a window. The
  200.     pane in the direction of the arrow becomes the active pane.
  201.  
  202. 195 The description for the shifted arrow keys in the table on
  203.     this page should be
  204.  
  205.     Key                Function
  206.    -----------------------------------------------------------
  207.     Shift-Up arrow     Resizes window - Moves bottom up
  208.     Shift-Down arrow   Resizes window - Moves bottom down
  209.     Shift-Left arrow   Resizes window - Moves right side left
  210.     Shift-Right arrow  Resizes window - Moves right side right
  211.  
  212. 199 The "Save Options..." menu command has three options that
  213.     control which part of the configuration gets saved (see the
  214.     entry for p59):
  215.  
  216.     All
  217.     Macros
  218.     Layout
  219.  
  220. 226 In the last line of first paragraph under "Starting Turbo
  221.     Debugger," change Alt-F L to Ctrl-F2.
  222.  
  223. 227 In the fifth line of the third paragraph, replace "wordcount"
  224.     with "charcount."
  225.  
  226. 228 In the first line of the second paragraph under Eureka!,
  227.     change Alt-F L to Ctrl-F2. Do the same for the third
  228.     paragraph, fourth line.
  229.  
  230. 238 Change "1024 bytes of DOS env" to "256 bytes of DOS env".
  231.  
  232. 239 Change the discription of -w to say "You can enter a new
  233.     executable file name that does not already exist and TD386
  234.     will create the new executable file."
  235.  
  236. 244 The -vb option no longer exists as a command-line option.
  237.  
  238. 249 Add a section: "TDRF Remote File Transfer Utility"  You can
  239.     enter a new executable file name that does not have to
  240.     already exist. TDRF will create the new executable file.
  241.  
  242. 250 In the first paragraph, add: "The wild cards * and ? can
  243.     be used with the COPY, COPYFROM, DEL, and DIR commands that
  244.     follow.
  245.  
  246.     Change the explanation for COPY to "Copies files from the
  247.     local system to the remote system. You can..."
  248.  
  249.     The explanation for COPYFROM should read: "Copies files from
  250.     the remote system to the local system. The single..." An
  251.     additional example is
  252.  
  253.     TDRF F TC*.* A:\TCDEMO
  254.  
  255.     which copies all files beginning with TC on the current
  256.     directory of the remote system to the local system's drive A,
  257.     subdirectory TCDEMO.
  258.  
  259. 251 At the bottom of the page, change FILE2 to TEST2.
  260.  
  261. 255 Add: If you specify the -c option, the input .EXE file is
  262.     converted into a .COM file. If you use -c in conjunction with
  263.     -s, you can convert an .EXE file with symbols into a .COM
  264.     file with a separate .TDS symbol file. This lets you debug
  265.     .COM files with Turbo Debugger while retaining full debugging
  266.     information.
  267.  
  268.     You can only convert certain .EXE files into .COM files. The
  269.     same restrictions apply to the -c option of TDSTRIP as to the
  270.     /t option of TLINK: Your program must start at location 100
  271.     hex, and it can't contain any segment fixups.
  272.  
  273. 275 Under "The User Screen Updating Option," add to the
  274.     discussion under "Swap": "Also, use the Swap option if you
  275.     Shell out to DOS and run other utilities or if you have a TSR
  276.     (such as SideKick) loaded.
  277.  
  278. 277 "43/50 line mode startup" is now called "Screen Lines." Also,
  279.     line one of the explanation should read: "Press S to...."
  280.  
  281. 279 Add to "Key for Interrupt": You choose the key for interrupt
  282.     by directly pressing the key combination that you wish to
  283.     use. You can use any combination of the Left-Shift, Right-
  284.     Shift, Alt, and Ctrl keys, along with a normal keyboard
  285.     character like a letter, function key, etc. For example,
  286.  
  287.          Shift-Alt-F1
  288.          Left shift-Right shift-Spacebar
  289.  
  290.     On extended 101-key keyboards, Turbo Debugger does not
  291.     distinguish between the left and right Alt keys or the left
  292.     and right Ctrl keys. The left and right shift keys are still
  293.     treated distinctly.
  294.  
  295. 282 TDINST now has a separate Save and Quit command on the main
  296.     menu. If you select Save, a menu appears that lets you choose
  297.     between saving the configuration directly to the Turbo
  298.     Debugger executable program file TD.EXE, or to a
  299.     configuration file.
  300.  
  301.     If you choose to save to a configuration file, a prompt
  302.     appears initialized to the default configuration file
  303.     TDCONFIG.TD. You can accept this name by pressing Enter or
  304.     you can type a new configuration file name. If you specify a
  305.     different file name, you can load that configuration by using
  306.     the -c command-line option when you start Turbo Debugger, for
  307.     example,
  308.  
  309.           td -cmycfg myprog
  310.  
  311.     You can also use the Options/Restore Configuration command to
  312.     load a configuration once you have started Turbo Debugger.
  313.  
  314. 284 Bottom of page: You can use data watching with breakpoints
  315.     that are not longer than 4 bytes
  316.  
  317. 286 Middle of page: Change  "MOV AL,[1234]" to "MOV AX,[1234]".
  318.  
  319. 301 Add: "You can enter a new executable file name that does not
  320.     already exist. TDREMOTE will create the new executable file."
  321.